package com.ygq.train.business.service;

import com.ygq.train.business.domain.TrainCarriage;
import com.ygq.train.common.resp.PageResp;
import com.ygq.train.business.req.TrainCarriageQueryReq;
import com.ygq.train.business.req.TrainCarriageSaveReq;
import com.ygq.train.business.resp.TrainCarriageQueryResp;
import java.util.List;


public interface TrainCarriageService {

     void save(TrainCarriageSaveReq req);

     PageResp<TrainCarriageQueryResp> queryList(TrainCarriageQueryReq req);

     void delete(Long id);

     List<TrainCarriageQueryResp> queryMine();

     List<TrainCarriage> selectByTrainCode(String trainCode);
}